package com.ruoyi.art.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 笔记对象 art_work
 * 
 * @author ruoyi
 * @date 2022-01-29
 */
public class ArtWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long workId;

    /** 作品名称 */
    @Excel(name = "作品名称")
    private String workName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 类型id */
    @Excel(name = "类型id")
    private Long typeId;

    /** 0没看1看完2在看3弃坑 */
    @Excel(name = "0没看1看完2在看3弃坑")
    private String state;

    /** 满分100 */
    @Excel(name = "满分100")
    private String myScore;

    /** 地址 */
    @Excel(name = "地址")
    private String urls;

    /** 评价 */
    @Excel(name = "评价")
    private String note;

    /** 简介 */
    @Excel(name = "简介")
    private String profile;

    /** 发行日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发行日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;

    public void setWorkId(Long workId) 
    {
        this.workId = workId;
    }

    public Long getWorkId() 
    {
        return workId;
    }
    public void setWorkName(String workName) 
    {
        this.workName = workName;
    }

    public String getWorkName() 
    {
        return workName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setMyScore(String myScore) 
    {
        this.myScore = myScore;
    }

    public String getMyScore() 
    {
        return myScore;
    }
    public void setUrls(String urls) 
    {
        this.urls = urls;
    }

    public String getUrls() 
    {
        return urls;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setProfile(String profile) 
    {
        this.profile = profile;
    }

    public String getProfile() 
    {
        return profile;
    }
    public void setIssueDate(Date issueDate) 
    {
        this.issueDate = issueDate;
    }

    public Date getIssueDate() 
    {
        return issueDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workId", getWorkId())
            .append("workName", getWorkName())
            .append("userId", getUserId())
            .append("typeId", getTypeId())
            .append("state", getState())
            .append("myScore", getMyScore())
            .append("urls", getUrls())
            .append("note", getNote())
            .append("profile", getProfile())
            .append("issueDate", getIssueDate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
